<%@ page language="java" import="java.util.*"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="control.ShetuanControl"%>
<%@ page import="model.Shetuan"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>登陆判断页面</title>  

  </head>
  
  <body>
  <%
      request.setCharacterEncoding("utf-8");  
      String shetuanName = request.getParameter("shetuanName");
      String password = request.getParameter("password");
  
      if(ShetuanControl.isShetuan(shetuanName,password))
      {
         response.sendRedirect("xiaoshelian_denglu.jsp");
      }
      else{
           
           response.sendRedirect("loginFailure.jsp");
           
      }
 %>
  </body>
</html>
